package com.java.mapper;

import com.java.entity.PsLineInfo;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/24 11:33 Dream-Seeker
 * @Description
 */
public interface PsLineInfoMapper {

    Integer selectCount(@Param("runningStatusName") String runningStatusName,
                        @Param("lineCode") String lineCode);

    List<PsLineInfo> findByPageLine(HashMap<String, Object> map);

    Integer runningchange(@Param("id") Integer id,
                          @Param("isStart") Integer isStart);

    List<PsLineInfo> getPsLineInfoBylineCodes(String lineCode);
}
